<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>指尖金融</title>
		<link rel="stylesheet" type="text/css" href="apply_base.css" />
		<link rel="stylesheet" href="./apply_main2.css" />
		<link href="../../../res/png/icon.png" rel="shortcut icon" />
		<link rel="stylesheet" type="text/css" href="../../../css/common.css" />
	</head>

	<body>
		<div class="head none" id="head">
		</div>
		<div class="pages none" id="main">
			<div class="container page" id="apply_main">
				<img id="progress" src="../../../res/png/progress_apply1.png" />
				<div id="content" class="w1000 financeApplicationContent" nocode="true" action="createFinanceApplication" version="v1.0">
					<input name="fingerTrunkAccountId" type="hidden" />
					<p class="label_info">
						<input type="hidden" name="financeId" id="financeId"/>
						<input type="hidden" name="productType"/>
						<input type="hidden" name="financeType" value="1"/>
						<img src="../../../res/png/info_icon.png" /><span class="labeltitle">商品信息</span>
					</p>
					<div class="applyDataLine">
						<div class="requireInput">
							<input type="hidden" name="bulkstockCategory" id="commodityCategoryHidden" codeName="货物类别" isNUll="1"/>
							<span class="bulkstockCategory">货物类别</span>:
							<select id="commodityCategory" name="bulkstockCategoryId" codeName="货物类别" isNUll="1">
								<option value=" ">请选择货物类别</option>
							</select>
						</div>
						<div></div>
						<div class="bulkstockMaterial none">该类货物融资时需要:<span id="bulkstockMaterial"></span></div>
					</div>
					<script type="text/template" id="commodityCategoryTpl">
						<option value=" ">请选择货物类别</option>
						{@each datas as it}
						<option value="${it.bulkstockCategoryId}" txt="${it.categoryName}">${it.categoryName}</td>
						{@/each}
					</script>
					<div class="clear"></div>
					<div id="goods1" bulkstockIds1="" class="goods">
						<input type="hidden" name="bulkstockIds" class="bulkstockIds"/>
						<div class="label"><span class="labelName">货物1</span>
							<div class="line1"></div>
						</div>
						<div class="applyDataLine">
							<div>
								<span class="bulkstockName">货物名称</span>:
								<input type="hidden" value="2" class="measurement"  name="measurement"/>
								<input type="hidden" class="conversionFactor" name="conversionFactor"/>
								<input type="hidden" name="weights"/>
								<input type="hidden" name="volumes"/>
								<input name="bulkstockNames" type="hidden" class="bulkstockNames" codeName="货物名称" isNUll="1"/>
								<select codeName="货物名称" isNUll="1" class="commodityNames" name="bulkstockInfoIds">
									<option value="">请选择货物名称</option>
								</select>
							</div>
							<div class="requireInput">
								产地:<select class="originPlaces" id="originPlaces" name="originPlaces" codeName="产地" isNUll="1"></select>
								<select name="originPlaces1" class="none"></select>
							</div>
						</div>
						<div class="applyDataLine">
							<div class="requireInput">
								商品包装:<select name="packingMethod"></select>
							</div>
							<div class="requireInput">
								货物等级:<input name="bulkstockGrade" codeName="货物等级" isNUll="0"  type="text" size="32" maxlength="32" placeholder="请输入货物等级" />
							</div>
						</div>
						<div class="applyDataLine">
							<div>
								<span class="star">*</span>数量:
								<input style="width: 134px;" class="n quantitys" name="quantitys" type="text" codeName="数量" isNUll="1"  placeholder="请输入数量"  />
								<span class="star">*</span>单位:
								<select class="u units" style="width: 109px;" name="units">
										<option value="吨">吨</option>
										<option value="千克">千克</option>
										<option value="袋">袋</option>
										<option value="盒">盒</option>
										<option value="箱">箱</option>
										<option value="立方米">立方米</option>
										<option value="米">米</option>
									</select>
								<span>
							</div>
							<div class="requireInput">
								供应商:<select style="width: 275px;" class="receive" name="receive" codeName="供应商" isNUll="1"></select> <a class="addSupplier" href="javascript:void(0);">新增</a>
							</div>
						</div>
						<div class="applyDataLine">
							备注:<textarea class="cargoMark" name="cargoMark" maxlength="128"> </textarea>
						</div>
					</div>
					<div class="clear"></div>
					<div class="label_info2">
						<img src="../../../res/png/dollar_icon.png" />金融信息
					</div>
					<div class="creditLineDom">
						<div class="creditLineDiv">
							<div>
								<span class="data" name="creditLine"></span><br />
								<span>授信额度(万元)</span>
							</div>
						</div>
						<div class="creditLineDiv">
							<div>
								<span class="data" name="creditAlready"></span><br />
								<span>已用额度(万元)</span>
							</div>
						</div>
						<div class="creditLineDiv">
							<div>
								<span class="data" name="creditLineRemains"></span><br />
								<span>剩余额度(万元)</span>
							</div>
						</div>
						<div class="applyDataLine">
							<div>
								货物单价(含税):<input num="1" name="bulkstockPrice" type="text" placeholder="请输入货物单价" />
							</div>
							<div>
								货物报价总值:<input name="valuation" readonly="readonly" type="text" placeholder="系统自动算出" />
							</div>
						</div>
						<div class="applyDataLine">
							<div>
								保证金比例(%):<select name="bailRate"></select>
							</div>
							<div>
								申请出账金额:<input name="applicationAmount" readonly="readonly" type="text" placeholder="系统自动算出" />
							</div>
						</div>
						<div class="applyDataLine">
							<div>
								申请用款期限:<select name="loanTimeLimit"><option value="30">30天</option><option value="60">60天</option><option value="90">90天</option><option value="180">180天</option></select>
							</div>
							<div>
							</div>
						</div>
					</div>
					<div class="label_info2">
						<img src="../../../res/png/dollar_icon.png" />物流信息
					</div>
					<div class="applyDataLine">
						<div>
							交货时间:<input name="deliveryDate" type="text" readonly="readonly" onfocus="WdatePicker({})"  placeholder="请选择交货时间" />
						</div>
						<div>
							交货地点:<input name="deliveryAddress" type="text" placeholder="请输入交货地点" />
						</div>
					</div>
					<div class="applyDataLine">
						<div>
							运费承担:<select name="transportExpenseBear" style="padding: 4px 5px;"></select>
						</div>
						<div>
						</div>
					</div>
					<div class="clear"></div>
					<p class="line" style="margin-top: 15px;"></p>
					<a class="button_next" id="apply_main_next">下一步</a>
					<div class="error_info">请将信息填写完整！</div>
				</div>
			</div>
		</div>
		<div id="popdialog"></div>
		<div id="fullBg" class="fullBg none"></div>
		<!--确认框-->
		<div class="dialog none" id="confirmDialog" style="width:300px;">
			<div class="dialogTitle"></div>
			<button class="closeDiv">×</button>
			<div class="dialogContent">
			</div>
			<div class="footerBtn">
				<div class="dialogBtn dialogHandlerBtn radius_shadow">确定</div>
			</div>
		</div>
		<div id="footer" class="w1000">
		</div>
		<script type="text/javascript" src="../../../js/jquery-1.11.1.min.js"></script>
		<script src="../../../component/PCAS/PCASClass.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../component/layer/layer.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../component/upload/jquery.ui.widget.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../component/upload/jquery.iframe-transport.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../component/upload/jquery.fileupload.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="../../../js/seajs/sea.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-text.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-css.js"></script>
		<script type="text/javascript" src="../../../js/enterprise/config.js"></script>
		<script type="text/javascript" src="../../../js/juicer-min.js"></script>
		<script src="../../../js/ajaxfileupload.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../js/radialIndicator.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			seajs.use('./apply_main2', function(apply_main2) {
				apply_main2.init();
				new PCAS("originPlaces", "originPlaces1");
			});
		</script>
	</body>

</html>